<f:subview xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:s="http://jboss.com/products/seam/taglib"> 
    <rich:modalPanel id="jornadaModalPanel" width="800" height="400" resizeable="false" style="overflow: auto">
        <f:facet name="header">
            <h:panelGroup>
                <h:outputText value="#{messages['messages.cadastrar.jornada']}"/>
            </h:panelGroup>
        </f:facet>
        <f:facet name="controls">
            <h:panelGroup>
            	<h:form>
	            	<a4j:commandButton 
	            		image="/img/close.png" 
	            		styleClass="hidelink" 
	            		id="hidelink"
	            		ajaxSingle="true"
	            		oncomplete="#{rich:component('jornadaModalPanel')}.hide()"/>
                </h:form>
            </h:panelGroup>
        </f:facet>
        <ui:include src="/pages/jornada/trabalho/index.xhtml" />
    </rich:modalPanel>
   
</f:subview>
